package com.hcinfos.gsoo.ui;

import com.hcinfos.gsoo.R;

import android.app.Activity;
import android.os.Bundle;
import android.text.Html;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.ImageView;
import android.widget.TextView;

/**
 * 招商合作
 * 
 * @author xi
 * 
 */
public class CooperateActivity extends Activity implements OnClickListener {

	private ImageView back_iv;
	private TextView tv;

	private String str = "<p>"+
    "<strong><span style='color:#00b0f0'>一. 即搜官方频道</span></strong>"+
"</p>"+
"<p>"+
    "<span style='font-size:12px'>官方网站: www.gsoo.com</span><br/>"+
"</p>"+
"<p>"+
    "<span style='font-size:12px'><br/></span>"+
"</p>"+
"<p>"+
    "<strong style='white-space: normal;'><span style='color: rgb(0, 176, 240);'>二. 点餐/外卖商户接洽</span></strong>"+
"</p>"+
"<p>"+
    "<span style='font-size:12px'>【东莞】 城市经理: 张明</span>"+
"</p>"+
"<p>"+
    "<span style='font-size:12px'>&nbsp; 电话： 18201753497</span>"+
"</p>"+
"<p>"+
    "<span style='font-size:12px'>&nbsp;【上海】城市经理: 王昕峰</span>"+
"</p>"+
"<p>"+
    "<span style='font-size:12px'>&nbsp; 电话：<span style='font-size: small; white-space: normal;'>18201753497</span></span>"+
"</p>"+
"<p style='white-space: normal;'>"+
    "<span style='font-size:12px'>&nbsp;【深圳】城市经理: 王昕峰</span>"+
"</p>"+
"<p style='white-space: normal;'>"+
    "<span style='font-size:12px'>&nbsp; 电话：18201753497</span>"+
"</p>"+
"<p style='white-space: normal;'>"+
    "<span style='font-size:12px'><br/></span>"+
"</p>"+
"<p style='white-space: normal;'>"+
    "<span style='font-size:12px'></span>"+
"</p>"+
"<p style='white-space: normal;'>"+
    "<strong><span style='color: rgb(0, 176, 240);'>三. 餐饮服务商接洽</span></strong>"+
"</p>"+
"<p style='white-space: normal;'>"+
    "<span style='font-size:12px'>【东莞】 城市经理: 张明</span>"+
"</p>"+
"<p style='white-space: normal;'>"+
    "<span style='font-size:12px'>&nbsp; 电话： 18201753497</span>"+
"</p>"+
"<p style='white-space: normal;'>"+
    "<span style='font-size:12px'>&nbsp;【上海】城市经理: 王昕峰</span>"+
"</p>"+
"<p style='white-space: normal;'>"+
    "<span style='font-size:12px'>&nbsp; 电话：18201753497</span>"+
"</p>"+
"<p style='white-space: normal;'>"+
    "<span style='font-size:12px'>&nbsp;【深圳】城市经理: 王昕峰</span>"+
"</p>"+
"<p style='white-space: normal;'>"+
    "<span style='font-size:12px'>&nbsp; 电话：18201753497</span>"+
"</p>"+
"<p style='white-space: normal;'>"+
    "<span style='font-size:12px'><br/></span>"+
"</p>"+
"<p style='white-space: normal;'>"+
    "<span style='font-size:12px'></span>"+
"</p>"+
"<p style='white-space: normal;'>"+
    "<strong><span style='color: rgb(0, 176, 240);'>四. 外卖商家咨询方式</span></strong>"+
"</p>"+
"<p style='white-space: normal;'>"+
    "<span style='font-size:12px'>【东莞】 城市经理: 张明</span>"+
"</p>"+
"<p style='white-space: normal;'>"+
    "<span style='font-size:12px'>&nbsp; 电话： 18201753497</span>"+
"</p>"+
"<p style='white-space: normal;'>"+
    "<span style='font-size:12px'>&nbsp;【上海】城市经理: 王昕峰</span>"+
"</p>"+
"<p style='white-space: normal;'>"+
    "<span style='font-size:12px'>&nbsp; 电话：18201753497</span>"+
"</p>"+
"<p style='white-space: normal;'>"
    +"<span style='font-size:12px'>&nbsp;【深圳】城市经理: 王昕峰</span>"+
"</p>"+
"<p style='white-space: normal;'>"+
    "<span style='font-size:12px'>&nbsp; 电话：18201753497</span>"+
"</p>"+
"<p style='white-space: normal;'>"+
    "<span style='font-size:12px'><br/></span><br/>"+
"</p>"+
"<p>"+
    "<span style='font-size:12px'><span style='font-size: small; white-space: normal;'></span></span><br/>"+
"</p>";

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_cooperate);

		back_iv = (ImageView) findViewById(R.id.back_iv);
		back_iv.setOnClickListener(this);

		tv = (TextView) findViewById(R.id.tv);
		tv.setText(Html.fromHtml(str));
	}

	@Override
	public void onClick(View v) {

		switch (v.getId()) {
		case R.id.back_iv:
			finish();
			break;
		}
	}
}
